package com.febers.ihealth.entity

/**
 * 问卷调查的 JavaBean 类
 * 包括； 问题，选项
 */
class SurveyBean {

    var question: String = ""
    var input: Boolean = false
    var yesOrNo: Boolean = false
    var options: List<Option> = ArrayList()

    /**
     * 问卷的选项
     * 包括编号、互斥的其他编号、描述、子问题
     */
    class Option {
        var description: String = ""
        var code: Int = 0
        var mutexCode: IntArray? = null
        var childSurvey: SurveyBean? = null
    }
}